<!DOCTYPE html>
02
<html lang="en">
03
<head>
04
<meta charset="UTF-8"/>
05
<title>Animations in HTML5 using the canvas element</title>
06
<script></script>
07
</head>
08
<body>
09
<canvas id="canvas" width="1000" height="600">Your browser does not support the
10
<code>&lt;canvas&gt;</code>-element. Please think about updating your browser!</canvas>
11
<div id="controls">
12
<button type="button" onclick="speed(-0.1);">Slower</button>
13
<button type="button" onclick="play(this);">Play</button>
14
<button type="button" onclick="speed(+0.1);">Faster</button>
15
</div>
16
</body>
17
</html>